package edu.tms.bean;

import java.util.*;


public class Exam {
	/**
	 * 考试id
	 */
	private Integer examId;

	/**
	 * 考试课程名称
	 */
	private String courseName;

	/**
	 * 考试开始时间
	 */
	private Date examStartTime;

	/**
	 * 考试结束时间
	 */
	private Date examEndTime;

	/**
	 * 考试地点
	 */
	private String examAddress;

	/**
	 * 应到人数
	 */
	private Integer examSupposedCount;

	/**
	 * 实到人数
	 */
	private Integer examAttendanceCount;

	/**
	 * 考试类型名称
	 */
	private String examTypeName;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 考试完成状态 1进行中，2完成
	 */
	private Integer examFulfilState;

	/**
	 * 考试状态 1正常，2冻结
	 */
	private Integer examState;

	private Integer stuScore;
	
	private Integer passCount;
	
	private Integer notPasscount;
	
	private Integer average;
	
	
	public Exam () {
		super();
	}

	public Exam (Integer examId,String courseName,Date examStartTime,Date examEndTime,String examAddress,Integer examSupposedCount,Integer examAttendanceCount,String examTypeName,Date createTime,Integer examFulfilState,Integer examState) {
		this.examId = examId;
		this.courseName = courseName;
		this.examStartTime = examStartTime;
		this.examEndTime = examEndTime;
		this.examAddress = examAddress;
		this.examSupposedCount = examSupposedCount;
		this.examAttendanceCount = examAttendanceCount;
		this.examTypeName = examTypeName;
		this.createTime = createTime;
		this.examFulfilState = examFulfilState;
		this.examState = examState;
	}

	public Integer getPassCount() {
		return passCount;
	}

	public void setPassCount(Integer passCount) {
		this.passCount = passCount;
	}

	public Integer getNotPasscount() {
		return notPasscount;
	}

	public void setNotPasscount(Integer notPasscount) {
		this.notPasscount = notPasscount;
	}

	public Integer getAverage() {
		return average;
	}

	public void setAverage(Integer average) {
		this.average = average;
	}

	public Integer getExamId() {
		return this.examId;
	}

	public void setExamId(Integer examId) {
		this.examId = examId;
	}

	public String getCourseName() {
		return this.courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public Date getExamStartTime() {
		return this.examStartTime;
	}

	public void setExamStartTime(Date examStartTime) {
		this.examStartTime = examStartTime;
	}

	public Date getExamEndTime() {
		return this.examEndTime;
	}

	public void setExamEndTime(Date examEndTime) {
		this.examEndTime = examEndTime;
	}

	public String getExamAddress() {
		return this.examAddress;
	}

	public void setExamAddress(String examAddress) {
		this.examAddress = examAddress;
	}

	public Integer getExamSupposedCount() {
		return this.examSupposedCount;
	}

	public void setExamSupposedCount(Integer examSupposedCount) {
		this.examSupposedCount = examSupposedCount;
	}

	public Integer getExamAttendanceCount() {
		return this.examAttendanceCount;
	}

	public void setExamAttendanceCount(Integer examAttendanceCount) {
		this.examAttendanceCount = examAttendanceCount;
	}

	public String getExamTypeName() {
		return this.examTypeName;
	}

	public void setExamTypeName(String examTypeName) {
		this.examTypeName = examTypeName;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getExamFulfilState() {
		return this.examFulfilState;
	}

	public void setExamFulfilState(Integer examFulfilState) {
		this.examFulfilState = examFulfilState;
	}

	public Integer getExamState() {
		return this.examState;
	}

	public void setExamState(Integer examState) {
		this.examState = examState;
	}

	@Override
	public String toString() {
		return "Exam[examId=" + examId+ ", courseName=" + courseName + ", examStartTime=" + examStartTime + ", examEndTime=" + examEndTime + ", examAddress=" + examAddress + ", examSupposedCount=" + examSupposedCount + ", examAttendanceCount=" + examAttendanceCount + ", examTypeName=" + examTypeName + ", createTime=" + createTime + ", examFulfilState=" + examFulfilState + ", examState=" + examState +",stuScore="+stuScore+ "]";
	}

	public Integer getStuScore() {
		return stuScore;
	}

	public void setStuScore(Integer stuScore) {
		this.stuScore = stuScore;
	}

}

